package com.dankegongyu.lib.http.api;

import com.dankegongyu.lib.http.interceptor.DKBaseInterceptor;

import java.util.List;

import io.reactivex.annotations.NonNull;
import io.reactivex.annotations.Nullable;

/**
 * @author wupuquan
 * @date 2020/6/18 16:24
 */
public interface IBaseApi {

    /**
     * retrofit要求baseUrl必须以 / 结尾，如 http://api.danke.com/
     */
    @NonNull
    String baseUrl();

    @Nullable
    List<DKBaseInterceptor> interceptors();

    long timeout();
}
